Active Serial Port:
نویسندگان
چکیده
The javax.comm package provides basic low-level access between Java programs and external input-output devices, in particular, serial devices. Such communications are handled using event listener technology similar to that used in the AWT package. Using the JCSP implementation of active AWT components as a model, we have constructed an active serial port (ASP), using javax.comm, that gives a channel interface that is more easily incorporated into a distributed JCSP.net collection of processes. The ASP has been tested in a real-time embedded system used to collect data from infrared detectors used to monitor the movement of pedestrians. The collected data is transferred across an Ethernet from the serial port process to the data manipulation processes. The performance of the JCSP.net based system has been compared with that supplied by the manufacturer of the detector and we conclude by showing how a complete monitoring system could be constructed in a scalable manner.
منابع مشابه
Dual-port serial arbiter with GSM modules for simultaneous local/remote control of RS232- based devices
Home and industrial appliances do usually have RS232 ports to enable computer control. In this paper we present a module to both extend the serial communications port for other devices or protocol adapters and to allow remote control by SMS messaging. To do so, the module must include a port arbiter to handle bi-directional communications between a RS232 and the two other ports (RS232 and GSM).
متن کاملMaximally Fast Scheduling of Bit-serial Lattice Wave Digital Filters Using Three-port Adaptor Allpass Sections
In this paper we show how to achieve a maximally fast lattice wave digital filter using three-port adaptor allpass sections. Using three-port adaptors may increase the maximal sampling rate with approximately 50% compared to using second-order Richards’ allpass sections. Only bitserial arithmetics is discussed in the paper, but the same ideas can be utilized for digit-serial and bit-parallel ar...
متن کاملAn Intelligent Computer Interface Utilizing Parallel Picocontrollers (TECHNICAL NOTE)
The design of an interface unit is described, in which RS232 serial data is converted to latched parallel data on 22 independent lines. The data direction of each line is programmable through the serial port. Two picocontrollers are employed in a parallel processing mode to give the required number of I/O pins, and data on the shared serial line is coded to separate data streams to the individu...
متن کاملC# and .NET Framework for uC communication protocol implementation
This paper describes an integrating hardware and software ensemble for the development of microcontroller-based computer numerical control system. The discuss is focused on design and implementation of the communication between the PC and a numerical control machine. Among topics covered are: the C#/.NET serial port programming, and further, how to create a Windows application for sending, trou...
متن کاملDebug Support on the ColdFire Architecture
Debug support on the ColdFire architecture is designed to be well-suited to embedded systems, and provides both realtime and background debugging techniques. A dedicated port for real-time information and a serial port allow users to read and write to memory, address and data registers, set up complex, multi-level breakpoints and trace execution paths of instructions. The debug module also incl...
متن کامل